package com.cheney.demo.fallback;

public class MyFallbackClass {

    /**
     * 该方法一定要是static方法
     */
    public static String fallback(String a, String b) {
        System.out.println("Fall back--> " + a + "--" + b);
        return "Fall back.";
    }

    public static String fallback2(String a, String b) {
        System.out.println("Fall back 2--> " + a + "--" + b);
        return "Fall back 2.";
    }

    public static String fallbackCs() {
        return "MyFallbackClass";
    }
}